import { getReq } from '@U/common'
import type { IObj } from '@/interface'

// 获取小程序邀请链接
export const getWeiXinInviteLink = (params: IObj) => getReq('/api/wx/miniprogram/channel-agent/url-link', params)

// 获取美稻AI小程序码相关
export const getMeiDaoAICodeAbout = () => getReq('/api/channel-agent/invite-code/get')

// 获取美稻AI小程序码
export const getMeiDaoAICode = (params = {}) => getReq('/api/wx/miniprogram/channel-agent/qrcode', params)
